package cn.huiyunche.admin.service;
import java.math.BigDecimal;
import java.util.Map;

import cn.huiyunche.base.service.vo.CBillAdminVo;
import cn.huiyunche.base.service.vo.PageVo;
import cn.huiyunche.base.service.vo.Result;
import cn.huiyunche.tools.basic.exceptions.BusinessException;

/**
 * 账单接口类
 * @author guanglulee
 *
 */
public interface AdminCAccntBillService {

	/**
	 * 分页查询账单信息
	 * 		根据账户类型 userType
	 * @param page
	 * @param bill
	 * @param userType
	 * @return
	 */
	Map<String, Object> getBills(PageVo page, CBillAdminVo bill, int userType);

	/**
	 * 人送项目 按照账单结算
	 * @param id
	 * @return
	 */
	Result<String> settlementById(Long id);

	/**
	 * 人送项目司机 奖罚
	 * @param id
	 * @param money
	 * @return
	 */

	Result<String> rewardandpunish(Long id,BigDecimal money,String remark,String type) throws BusinessException;

}